package com.tcode.dao;

import com.tcode.bean.UserBean;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IUserMapper {
    @Select("select * from sys_user_t")
    List<UserBean> findAll();
    @Select("select * from sys_user_t where uid =#{id}")
    UserBean findUserById(int id);
}
